package com.ruoyi.game.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 金币记录对象 ry_gold_coin_record
 *
 * @author 小胖
 * @date 2022-05-11
 */
public class GoldCoinRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 金币记录id */
    private Long goldCoinId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 记录类型;充值,消费 */
    @Excel(name = "记录类型;充值,消费")
    private String recordType;

    /** 金币数量;充值或消费金币数量 */
    @Excel(name = "金币数量;充值或消费金币数量")
    private Integer goldCoinQuantity;

    public void setGoldCoinId(Long goldCoinId)
    {
        this.goldCoinId = goldCoinId;
    }

    public Long getGoldCoinId()
    {
        return goldCoinId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setRecordType(String recordType)
    {
        this.recordType = recordType;
    }

    public String getRecordType()
    {
        return recordType;
    }
    public void setGoldCoinQuantity(Integer goldCoinQuantity)
    {
        this.goldCoinQuantity = goldCoinQuantity;
    }

    public Integer getGoldCoinQuantity()
    {
        return goldCoinQuantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goldCoinId", getGoldCoinId())
            .append("userId", getUserId())
            .append("recordType", getRecordType())
            .append("goldCoinQuantity", getGoldCoinQuantity())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
